<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>溢出问题</title>
		<style>
			div{
				width: 500px;
				height: 100px;
				background-color: rgba(201, 201, 201, 0.2);
				/* 溢出属性overflow 
				scroll滚动
				visible显示
				hidden 隐藏
				auto   自动
				overflow-x和overflow-y*/
				overflow: scroll;
				overflow:visible;
				overflow:hidden;
				overflow: auto;
				/* 需求：左右滚动 不要上下 */
				overflow-y: hidden;
			}
			
			p{
				
				width: 1000px;
			}
		</style>
	</head>
	<body>
		<div>
			<p>
		<img src="img/p_small_001.jpg" alt="1">
		<img src="img/p_small_002.jpg" alt="2">
		<img src="img/p_small_003.jpg" alt="3">
        <img src="img/p_small_004.jpg" alt="4">
		<img src="img/p_small_005.jpg" alt="5">
		<img src="img/p_small_006.jpg" alt="6">
		<img src="img/p_small_007.jpg" alt="7">
		
		
		
		</p>
		</div>
	</body>
</html>